package com.yq.ylmall.activity.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yq.ylmall.dto.activity.CouponFormDto;
import com.yq.ylmall.dto.activity.CouponIssueFormDto;
import com.yq.ylmall.dto.activity.CouponQueryDto;
import com.yq.ylmall.model.activity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yq.ylmall.vo.activity.CouponPageVO;

/**
 * <p>
 * 优惠券的规则信息 服务类
 * </p>
 *
 * @author cherry
 * @since 2024-06-13
 */
public interface ICouponService extends IService<Coupon> {

    void saveCoupon(CouponFormDto couponFormDto);

    IPage<CouponPageVO> selectCouponPage(CouponQueryDto couponQueryDto);

    void issueCoupon(Long id, CouponIssueFormDto couponIssueFormDto);
}
